﻿<%@ Page Title="Trang quản trị" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="capnhatngaydien.aspx.cs" Inherits="admin_capnhatngaydien" %>

<%@ Register assembly="DevExpress.Web.ASPxEditors.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dxe" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dxwgv" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    .style5
    {
        width: 131px;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width: 100%;">
    <tr>
        <td align="center">
            Quản Lí Lịch Diễn</td>
    </tr>
    <tr>
        <td align="center">
            <dxwgv:ASPxGridView ID="ASPxGridView2" runat="server" 
                AutoGenerateColumns="False" KeyFieldName="mald" 
                onrowupdating="ASPxGridView2_RowUpdating">
                <Columns>
                    <dxwgv:GridViewCommandColumn VisibleIndex="0">
                        <EditButton Visible="True">
                        </EditButton>
                    </dxwgv:GridViewCommandColumn>
                    <dxwgv:GridViewDataTextColumn Caption="Mã lịch diễn" FieldName="mald" 
                        VisibleIndex="1">
                    </dxwgv:GridViewDataTextColumn>
                    <dxwgv:GridViewDataTextColumn Caption="Ngày diễn" FieldName="ngaydien" 
                        VisibleIndex="2">
                    </dxwgv:GridViewDataTextColumn>
                </Columns>
                <settingstext commandcancel="Hủy" commandedit="Cập nhật" commandupdate="Lưu" />
                <templates>
                    <editform>
                        <table style="width: 100%;">
                            <tr>
                                <td class="style5" align="right">
                                    Mã lịch diễn</td>
                                <td>
                                    <dxe:ASPxTextBox ID="ASPxTextBox1" runat="server" Enabled="False" Height="16px" 
                                        Text='<%# Eval("mald") %>' Width="107px">
                                    </dxe:ASPxTextBox>
                                </td>
                            </tr>
                        </table>
                        <table style="width: 100%;">
                            <tr>
                                <td align="right">
                                    Số ngày cập nhật</td>
                                <td colspan="2">
                                    <dxe:ASPxTextBox ID="ASPxTextBox2" runat="server" Height="16px" Width="107px">
                                    </dxe:ASPxTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    <dxwgv:ASPxGridViewTemplateReplacement ID="ASPxGridViewTemplateReplacement1" 
                                        runat="server" ReplacementType="EditFormUpdateButton">
                                    </dxwgv:ASPxGridViewTemplateReplacement>
                                    <dxwgv:ASPxGridViewTemplateReplacement ID="ASPxGridViewTemplateReplacement2" 
                                        runat="server" ReplacementType="EditFormCancelButton">
                                    </dxwgv:ASPxGridViewTemplateReplacement>
                                </td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                        </table>
                    </editform>
                </templates>
            </dxwgv:ASPxGridView>
        </td>
    </tr>
</table>
</asp:Content>

